<!doctype html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport"
        content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Vue App</title>
</head>
<body>
  <div class="app">
    <h1>
      {{ msg }}
    </h1>
  </div>
</body>
<script src="./js/vue.js"></script>
<script type="text/javascript">
  // 过滤器, 指令, 组件, 生命周期, 路由, 状态管理
  Vue.config.productionTip = true
  const vm = new Vue({
    data: {
      msg: '消息!'
    }
  })
  setTimeout(() => {
    vm.$mount(document.querySelector('.app'))
  }, 3000 )
</script>
</html>